import request from "../utils/request";
export const getCode =(data)=>{
    return request({
        url: '/forgotPassword/getCode',
        method: 'get',
        params: {
            email: data,
        }
    })
}
export const resetPassword =(data)=>{
    return request({
        url: '/forgotPassword/resetPassword',
        method: 'post',
        data:data
    })
}